# $Id: PKGBUILD 86017 2013-03-11 10:27:49Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-text-vfile-asdata
pkgver=0.08
pkgrel=1
pkgdesc="Perl/CPAN Module Text::vFile::asData"
arch=("any")
url="http://search.cpan.org/dist/Text-vFile-asData"
license=("GPL" "PerlArtistic")
depends=("perl-class-accessor-chained")
source=("http://www.cpan.org/authors/id/R/RC/RCLAMP/Text-vFile-asData-$pkgver.tar.gz")
md5sums=('39fad8c1ca12d44a1bde955f74b3d470')

build() {
  cd $srcdir/Text-vFile-asData-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
}

package() {
  cd $srcdir/Text-vFile-asData-$pkgver
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
